package cn.ytxy.ivos.application.pojo.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ClassName ApplicationSaveParam
 * @Description TODO
 * @Author renhong~Deng
 * @Date 2025/5/13 9:22
 * @Version 1.0
 */

@Data
public class ApplicationSaveParam {
    @ApiModelProperty(value = "用车申请表id")
    private Long id;
    @ApiModelProperty(value = "申请人")
    private Long userId;
    @ApiModelProperty(value = "申请人姓名")
    private String username;
    @ApiModelProperty(value = "用车开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @ApiModelProperty(value = "用车结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @ApiModelProperty(value = "驾照图片")
    private String imgUrl;
    @ApiModelProperty(value = "出发地")
    private String departureAddr;
    @ApiModelProperty(value = "目的地")
    private String destinationAddr;
    @ApiModelProperty(value = "用车申请表原因")
    private String reason;
    @ApiModelProperty(value = "其他原因")
    private String remark;
    @ApiModelProperty(value = "用车申请表状态,已发起10,撒销20,审核中30,驳回40,已通过50,分配用车60,工单结束70")
    private String status;
    @ApiModelProperty(value = "分配的车辆id")
    private Long vehicleId;
    //驳回原因与创建更新时间不在此处新增或修改，可以去掉
    //新增是前端会传过来审批人id结婚，注意审批人可能不是2个人!
    @ApiModelProperty(value = "审批人id集合")
    private List<Long> auditUserIdList;//"moly,tom"
}
